<?php
class Arm_Form_Builder_Sql_Pdo_Mysql extends Arm_Db_Sql_Mysql
{
    /**
     * Вернет таблицы с базы данных, и их описание.
     * 
     * 
     * @return array
     */
    public function getTables()
    {
       $result = array();
       $table  = $this->getDb()->listTables();
       foreach ($table as $t) {
           $result[$t] = $this->getDb()->describeTable($t); 
       }
       return $result;
    }
}